package com.mofang.ticketing.user.serve.account.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author LGC
 * @date 2022/10/24 17:30
 */
@Data
@ApiModel(value = "追加权限")
public class AppendPermissionReqDTO implements Serializable {
    private static final long serialVersionUID = 243029859518105255L;

    @ApiModelProperty(value = "所属组织 1=平台、2=商户、3=项目成员", required = true)
    @NotNull(message = "所属组织不能为空")
    private Integer belong;


    @ApiModelProperty(value = "authority", required = true)
    @NotBlank(message = "authority 不能为空")
    private String authority;
}
